package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ExternalLinkUpdateAdminDTO {

    @ApiModelProperty("唯一标识id")
    @NotNull(message = "必传参数不能为空")
    private Long id;

    @ApiModelProperty("外链iconId")
    @NotNull(message = "必传参数iconId不能为空")
    private Long iconId;

    @ApiModelProperty("dao表id")
    private Long daoId;

    @ApiModelProperty("外链转跳地址")
    private String url;

    @ApiModelProperty("排序,越大越靠前")
    private Integer sort;

    @ApiModelProperty("0:跳转页面 1:跳转app 2：小程序")
    private Integer type;

    @ApiModelProperty("是否需要验签")
    private Boolean isSign = Boolean.FALSE;

    @ApiModelProperty("appid")
    private String appId;

}
